package com.mgg.auth.exception;


import org.springframework.security.core.AuthenticationException;

public class ValidateCodeCheckException extends AuthenticationException{

	/**
	 * 
	 */
	private static final long serialVersionUID = -3266965427087921316L;
	
	private String code;

	public ValidateCodeCheckException(String msg) {
		super(msg);
	}

	public ValidateCodeCheckException(String code, String msg) {
        super(msg);
        this.code = code;
    }

	public String getCode() {
		return code;
	}
}
